package com.qianfeng.openapi.web.master.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/12/30
 * @Time: 下午2:16
 */
@FeignClient(serviceId = "OPENAPI-SEARCH",fallback = SearchServiceClientFallback.class)
public interface SearchServiceClient {


    @RequestMapping("/search/count")
    public long count(@RequestBody  String params);

    @RequestMapping("/search/searchLog")
    public List<Map> searchLog(@RequestBody  String params);

}


